<?php
class Registry{
	
	static function getAccessManager(){
		//返回处理login的类
	 	return new Registry();
	}

	static function getMessageSystem(){
		return new Registry();
	}

	function login($uesr,$pass){
		
		return true;
	}

	function send($email,$msg,$topic){
		return true;
	}
}